<%@ Page Language="C#" AutoEventWireup="true" CodeFile="KupuvanjeImot.aspx.cs" Inherits="KupuvanjeImot" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:Label ID="Label1" runat="server" Text="Dodeluvanje pole na igrac..."></asp:Label><br />
        <br />
        <br />
        <asp:Label ID="Label2" runat="server" Text="Odberi igrac:"></asp:Label>&nbsp;<asp:DropDownList
            ID="DropDownList1" runat="server" DataSourceID="Access" DataTextField="IME" DataValueField="ID"
            Width="111px">
        </asp:DropDownList>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="DropDownList1"
            ErrorMessage="Mora da odberete igrac!"></asp:RequiredFieldValidator>
        <asp:AccessDataSource ID="Access" runat="server" DataFile="~/App_Data/Proekt.mdb"
            SelectCommand="SELECT [ID], [IME] FROM [IGRACI]"></asp:AccessDataSource>
        <br />
        <asp:Label ID="Label3" runat="server" Text="Odberi pole:"></asp:Label>&nbsp;<br />
        <br />
        <asp:ListBox ID="ListBox1" runat="server" Width="192px"></asp:ListBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="ListBox1"
            ErrorMessage="Mora da odberete pole!"></asp:RequiredFieldValidator><br />
        <br />
        <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Dodeli" />&nbsp;<asp:Button
            ID="Button2" runat="server" OnClick="Button2_Click" Text="Nazad" /></div>
    </form>
</body>
</html>
